package org.example.exp3.exam4;

public class LightDCommand extends Command {
   private RoomDLight lightD = new RoomDLight();

   public void control() {
      lightD.switchState();
   }
}